﻿@using MvcApplication1.Controllers
@using MvcApplication1.Models
@model Example1GridArg
@{ var info = new ClickableColumnInfo(Url.Action("Grid"), Model.GridContainerId); }
@Grid.CreateGrid(GenericGridArg.New(Model.Datas, type => new[]
{
    type.Column(Grid.AJsUpdateGrid(info, @<text>@Example1OrderBy.C1</text>, @<text>Header 1</text>).RFunc(),
                @<text>@item.C1</text>),
    type.Column(@<text>Header 3</text>, @<text>simple text</text>),
    type.Column(th: Grid.AJsUpdateGrid(info, @<text>@Example1OrderBy.C2</text>, @<text>Header 2</text>).RFunc(),
                td: @<text>@item.C2</text>)
}))